import React, { Component } from 'react';
import ReactDOM from 'react-dom';
import './index.css';
import App from './App';
import './components/ComA.css';
// 引入antd的样式
import 'antd/dist/antd.css'; // or 'antd/dist/antd.less'
import {BrowserRouter} from 'react-router-dom'
import axios from 'axios'
import reportWebVitals from './reportWebVitals';
Component.prototype.$http = axios;

// 改造index
ReactDOM.render(
  <BrowserRouter><App /></BrowserRouter>,
  document.getElementById('root')
);
reportWebVitals();
